import request from '@/utils/request'

export function importExcel(data) {
  return request({
    url: '/admin/rank/excel',
    method: 'post',
    data
  })
}

export function create(data) {
  return request({
    url: '/admin/rank/create',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/admin/rank/edit',
    method: 'post',
    data
  })
}

export function getDetail(data) {
  return request({
    url: '/admin/rank/detail',
    method: 'post',
    data
  })
}

export function getList(data) {
  return request({
    url: '/admin/rank/list',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/admin/rank/del',
    method: 'post',
    data
  })
}
